﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindGoes6.Data;
using WindGoes6.Database;
using WindGoes6.Helper;

namespace TestProject
{
	static class Program
	{
		/// <summary>
		/// 应用程序的主入口点。
		/// </summary>
		[STAThread]
		static void Main()
		{
			// Application.EnableVisualStyles();
			// Application.SetCompatibleTextRenderingDefault(false);
			// Application.Run(new Form1()); 
			//CSVTest.Test1(); 
			// Console.WriteLine(IniAccess.Read("SuccessFolder", filepath: "config.ini"));
			// IniAccess.Write("SuccessFolder", @"C:\data\SuccessFolder");

			// XmlHelper.XmlFormatTest();
			//var form = new WindGoes6.Forms.ConnectionVerificationForm();
			var form = new WindGoes6.Forms.ConTestForm();
			string constr = "Data Source = 117.71.62.132,8092;Initial Catalog = A30;User ID = sa; Password = Huaun@2021;";
			SQLConnection sm = SQLConnection.FromDesString(constr, false);

			form.AddConnectionString(constr);
			form.ShowDialog();
		}
	}


}
